package com.zhss.eshop.auth.service;

import com.zhss.eshop.auth.domain.model.AuthRole;

import java.util.List;

public interface AuthRoleService{


    int deleteByPrimaryKey(Long id);

    int insertSelective(AuthRole record);

    AuthRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuthRole record);

    /**
     * 分页查询角色
     * @return 角色DO对象集合
     * @throws Exception
     */
    List<AuthRole> listByPage(Integer page,Integer limit,String code,String name) throws Exception;
}
